import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store' 

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import global from './components/global.vue'
Vue.use(global); 
Vue.component('my-global', global);


// 安装配置axios
import axios from 'axios';
axios.defaults.baseURL = "http://127.0.0.1:3000/v1";
Vue.prototype.axios = axios;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  global,
  render: h => h(App)
}).$mount('#app')
